import java.util.List;

import javax.swing.SwingWorker;


public class pintor extends SwingWorker<Void, Integer> {

@Override
protected Void doInBackground() throws Exception {
	 while (true){
		Thread.sleep(3000);
		publish(1);
}
}

@Override
protected void process(List<Integer> chunks) {
	relay.modelo.refrescar();
}
}